package com.jeecg.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: SYS_APP_MESSAGESENDER
 * @author onlineGenerator
 * @date 2018-11-19 15:11:58
 * @version V1.0
 * 
 */
@Entity
@Table(name = "sys_app_messagesender", schema = "")
@SuppressWarnings("serial")
public class SysAppMessagesenderEntity implements java.io.Serializable {
    /** 消息编号 */
    @Excel(name = "消息编号", width = 15)
    private java.lang.Integer msgid;
    /** 系统编号 */
    @Excel(name = "系统编号", width = 15)
    private java.lang.Integer sysid;
    /** 发送者编号 */
    @Excel(name = "发送者编号", width = 15)
    private java.lang.Integer sender;
    /** 接收者编号 */
    @Excel(name = "接收者编号", width = 15)
    private java.lang.Integer receiver;
    /** 消息标题 */
    @Excel(name = "消息标题", width = 15)
    private java.lang.String msgtitle;
    /** 消息内容 */
    @Excel(name = "消息内容", width = 15)
    private java.lang.String msgcontent;
    /** 发送日期 */
    @Excel(name = "发送日期", width = 15, format = "yyyy-MM-dd")
    private java.util.Date sendtime;
    /** 查看日期 */
    @Excel(name = "查看日期", width = 15, format = "yyyy-MM-dd")
    private java.util.Date readtime;
    /** 定时发送日期 */
    @Excel(name = "定时发送日期", width = 15, format = "yyyy-MM-dd")
    private java.util.Date fixedtime;
    /** 消息状态 */
    @Excel(name = "消息状态", width = 15, dicCode = "MESSSTATE")
    private java.lang.String msgstatus;
    /** refobjecttype */
    @Excel(name = "refobjecttype", width = 15)
    private java.lang.String refobjecttype;
    /** refobjid */
    @Excel(name = "refobjid", width = 15)
    private java.lang.Integer refobjid;
    /** 排序号 */
    @Excel(name = "排序号", width = 15)
    private java.lang.Integer orderid;
    /** 应用系统所属ID */
    @Excel(name = "应用系统所属ID", width = 15)
    private java.lang.String appid;
    /** isvalid */
    @Excel(name = "isvalid", width = 15, dicCode = "ISN")
    private java.lang.String isvalid;
    /** ID */
    private java.lang.Integer id;

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 消息编号
     */

    @Column(name = "MSGID", nullable = true, length = 19)
    public java.lang.Integer getMsgid() {
        return this.msgid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 消息编号
     */
    public void setMsgid(java.lang.Integer msgid) {
        this.msgid = msgid;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 系统编号
     */

    @Column(name = "SYSID", nullable = true, length = 19)
    public java.lang.Integer getSysid() {
        return this.sysid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 系统编号
     */
    public void setSysid(java.lang.Integer sysid) {
        this.sysid = sysid;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 发送者编号
     */

    @Column(name = "SENDER", nullable = true, length = 19)
    public java.lang.Integer getSender() {
        return this.sender;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 发送者编号
     */
    public void setSender(java.lang.Integer sender) {
        this.sender = sender;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 接收者编号
     */

    @Column(name = "RECEIVER", nullable = true, length = 19)
    public java.lang.Integer getReceiver() {
        return this.receiver;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 接收者编号
     */
    public void setReceiver(java.lang.Integer receiver) {
        this.receiver = receiver;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 消息标题
     */

    @Column(name = "MSGTITLE", nullable = true, length = 100)
    public java.lang.String getMsgtitle() {
        return this.msgtitle;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 消息标题
     */
    public void setMsgtitle(java.lang.String msgtitle) {
        this.msgtitle = msgtitle;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 消息内容
     */

    @Column(name = "MSGCONTENT", nullable = true, length = 4000)
    public java.lang.String getMsgcontent() {
        return this.msgcontent;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 消息内容
     */
    public void setMsgcontent(java.lang.String msgcontent) {
        this.msgcontent = msgcontent;
    }

    /**
     * 方法: 取得java.util.Date
     * 
     * @return: java.util.Date 发送日期
     */

    @Column(name = "SENDTIME", nullable = true)
    public java.util.Date getSendtime() {
        return this.sendtime;
    }

    /**
     * 方法: 设置java.util.Date
     * 
     * @param: java.util.Date 发送日期
     */
    public void setSendtime(java.util.Date sendtime) {
        this.sendtime = sendtime;
    }

    /**
     * 方法: 取得java.util.Date
     * 
     * @return: java.util.Date 查看日期
     */

    @Column(name = "READTIME", nullable = true)
    public java.util.Date getReadtime() {
        return this.readtime;
    }

    /**
     * 方法: 设置java.util.Date
     * 
     * @param: java.util.Date 查看日期
     */
    public void setReadtime(java.util.Date readtime) {
        this.readtime = readtime;
    }

    /**
     * 方法: 取得java.util.Date
     * 
     * @return: java.util.Date 定时发送日期
     */

    @Column(name = "FIXEDTIME", nullable = true)
    public java.util.Date getFixedtime() {
        return this.fixedtime;
    }

    /**
     * 方法: 设置java.util.Date
     * 
     * @param: java.util.Date 定时发送日期
     */
    public void setFixedtime(java.util.Date fixedtime) {
        this.fixedtime = fixedtime;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 消息状态
     */

    @Column(name = "MSGSTATUS", nullable = true, length = 2)
    public java.lang.String getMsgstatus() {
        return this.msgstatus;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 消息状态
     */
    public void setMsgstatus(java.lang.String msgstatus) {
        this.msgstatus = msgstatus;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String refobjecttype
     */

    @Column(name = "REFOBJECTTYPE", nullable = true, length = 30)
    public java.lang.String getRefobjecttype() {
        return this.refobjecttype;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String refobjecttype
     */
    public void setRefobjecttype(java.lang.String refobjecttype) {
        this.refobjecttype = refobjecttype;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer refobjid
     */

    @Column(name = "REFOBJID", nullable = true, length = 19)
    public java.lang.Integer getRefobjid() {
        return this.refobjid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer refobjid
     */
    public void setRefobjid(java.lang.Integer refobjid) {
        this.refobjid = refobjid;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer 排序号
     */

    @Column(name = "ORDERID", nullable = true, length = 19)
    public java.lang.Integer getOrderid() {
        return this.orderid;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer 排序号
     */
    public void setOrderid(java.lang.Integer orderid) {
        this.orderid = orderid;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String 应用系统所属ID
     */

    @Column(name = "APPID", nullable = true, length = 200)
    public java.lang.String getAppid() {
        return this.appid;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String 应用系统所属ID
     */
    public void setAppid(java.lang.String appid) {
        this.appid = appid;
    }

    /**
     * 方法: 取得java.lang.String
     * 
     * @return: java.lang.String isvalid
     */

    @Column(name = "ISVALID", nullable = true, length = 10)
    public java.lang.String getIsvalid() {
        return this.isvalid;
    }

    /**
     * 方法: 设置java.lang.String
     * 
     * @param: java.lang.String isvalid
     */
    public void setIsvalid(java.lang.String isvalid) {
        this.isvalid = isvalid;
    }

    /**
     * 方法: 取得java.lang.Integer
     * 
     * @return: java.lang.Integer ID
     */
    @Id
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "SYS_APP_MESSAGE_SENDER")
	@TableGenerator(name = "SYS_APP_MESSAGE_SENDER", pkColumnValue = "SYS_APP_MESSAGE_SENDER", table = "sys_sequence", 
		pkColumnName = "name", valueColumnName = "sysid", initialValue = 1, allocationSize = 1)
    @Column(name = "ID", nullable = true, length = 19)
    public java.lang.Integer getId() {
        return this.id;
    }

    /**
     * 方法: 设置java.lang.Integer
     * 
     * @param: java.lang.Integer ID
     */
    public void setId(java.lang.Integer id) {
        this.id = id;
        this.msgid = id;
        this.sysid = id;
    }
}
